package gameobjects;

public class Weapon extends Entity {
	
	public static final int TYPE_PISTOL = 0;
	public static final int TYPE_SHOTGUN = 1;
	public static final int TYPE_LMG = 2;
	public static final int TYPE_ROCKET = 3;
	public static final int TYPE_CHASER = 4;
	public static final int TYPECOUNT = 5;

	private Bullet bulletData;
	private int magSize;
	private int cooldown;

	public Weapon(int h, String n, String s, int x, int y, int w, int he,
			Bullet bulletData) {
		super(h, n, s, x, y, w, he);
		this.bulletData = bulletData;
	}

	public int getMagSize() {
		return magSize;
	}

	public void setMagSize(int magSize) {
		this.magSize = magSize;
	}

	public Bullet getBulletData() {
		return bulletData;
	}

	public void setBulletData(Bullet bulletData) {
		this.bulletData = bulletData;
	}

	public int getCooldown() {
		return cooldown;
	}

	public void setCooldown(int cooldown) {
		this.cooldown = cooldown;
	}
}
